import React from 'react';
import ReactDOM from 'react-dom/client';

import { ConfigProvider } from 'antd';
import zhCN from 'antd/locale/zh_CN';
import 'antd/dist/reset.css';

import {HashRouter}from 'react-router-dom'

import {Provider} from 'react-redux'
import store from './store'

import App from '@/App';
import reportWebVitals from './reportWebVitals';

const root = ReactDOM.createRoot(
  document.getElementById('root') as HTMLElement
);
root.render(
  <React.StrictMode>
    <ConfigProvider locale={zhCN}
    theme={{
      token:{
        // colorPrimary:'#ff6666'
      }
    }}>
      <Provider store={store}>
        <HashRouter>
          <App />
        </HashRouter>
        
      </Provider>
      
    </ConfigProvider>
    
  </React.StrictMode>
);


reportWebVitals();
